<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="bean.Company" %> 
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
 <c:forEach items="${list}" var="minfo">
			            <tr>
			                   <td>${minfo.id}</td>
			                   <td>${minfo.maintainer}</td>
				               <td>${minfo.keyboarder}</td>
				               <td>${minfo.companyName}</td>
				               <td>${minfo.contents}</td>
				               <td>${minfo.main_date}</td>
				               <td>
				                 <a href="<%=request.getContextPath()%>/deleteMainServlet?id=${minfo.id}">删除</a>
							   </td>
				        </tr>
</c:forEach>